<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'maskJsp.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
div.dhx_modal_cover {
    border: currentColor;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    _height: 0;
    _overflow: hidden;
    position: fixed;
    _filter: alpha(opacity=50);
    opacity: .5;
    z-index: 19999;
    cursor: default;
    zoom: 1;
    background-color: rgba(0,0,0,255);
}
</style>
<script>
 //jQuery("#maskDiv").append("<iframe style='position:absolute;width:100%;height:100%;_filter:alpha(opacity=0);opacity=0;border-style:none;'></iframe>");
 //popupDivObj.css({"position": "absolute"}).animate({top:scroll2Top+(windowHeight/2)-popupDivHeight/2, left:scroll2Left+(windowWidth/2)-popupDivWidth/2, opacity: "show" }, "fast");
</script>
  </head>
  
  <body>
  http://127.0.0.1:81/MyDemos/maskJsp.jsp
  说明：这个遮罩层暂时不支持IE.
    This is my JSP page. <br>
    <div class="dhx_modal_cover" style="display: inline-block;"></div>
	<div dhxbox="1" style="z-index: 20000; position: fixed; left: 642px; top: 281.5px;">
		<img src="https://kyfw.12306.cn/otn/resources/images/loading.gif">
	</div>
	<div style="width:100px;height:900px;border:1px solid red;">
	</div>
	    
  </body>
</html>
